package com.group5.onlinegame.service;

import com.group5.onlinegame.dao.IProductTypeDao;
import com.group5.onlinegame.entity.ProductType;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ProductTypeImpl implements IProductTypeService {

    @Resource
    private IProductTypeDao iProductTypeDao;

    //查询商品类型数据
    @Override
    public List<ProductType> getProductTypeList() {
        return iProductTypeDao.getProductTypeList();
    }
}
